﻿@{
    ViewBag.Title = "List";
    Layout = "~/Views/Shared/_LayoutUser.cshtml";
}

@using (Html.BeginForm())
{
    
    <br />
    <table align="center">
        <tr>
            <td>@ViewBag.thongbao</td>
        </tr>
    </table>
    <br />
    <table align="right">
        <tr>
            <td> @Html.TextBox("tentimkiem", "nhap ten", new { style = "height = 25px; width: 300px;" })</td>
            <td>
                @Html.DropDownList("luachon", ViewData["DropDownItems"] as List<SelectListItem>)
            </td>
            <td><input type="submit" name="timkiem" value="Tìm" /></td>
            <td>@Html.ActionLink("Tìm kiếm nâng cao", "UserByStype", "User")</td>
        </tr>
    </table>
}

<br />
<br />
<br />
<table align="center" >
    <tr>
        <td> <h1>@Html.Raw(ViewBag.header)</h1> </td>
    </tr>
</table>
<br />
<br />
<table style="margin-left:10px;">
    @Html.Raw(ViewBag.View)
</table>